

function Can_UI()
{
	Can_Array.apply(this, arguments);
}
extend_usemid(Can_UI, Can_Array);



function UI_Info(w, h)
{
	this.self_w = w;
	this.self_h = h;
}

function UI_Base(a_id, a_factid)
{
	// 都继承fact_game对象
	Fact_UI.apply(this, arguments);
	//
	this.fact_info = new UI_Info();
}
extend_usemid(UI_Base, Fact_UI);

function UI_Normal(a_id, fact_id, imagesrc, position)
{
	UI_Base.apply(this, [a_id, fact_id]);
	this.imagesrc = imagesrc;
	this.view_priority = 3;
	this.position = position;
}
extend_usemid(UI_Normal, UI_Base);


function UI_Room(a_id, a_factid, imagesrc, position)
{
	UI_Base.apply(this, [a_id, a_factid]);
	this.imagesrc = imagesrc;
	this.view_priority = 3;
	this.position = position;
}
extend_usemid(UI_Room, UI_Base);


function UI_Game(a_id, a_factid, imagesrc, position)
{
	UI_Base.apply(this, [a_id, a_factid]);
	this.imagesrc = imagesrc;
	this.view_priority = 3;
	this.position = position;
}
extend_usemid(UI_Game, UI_Base);






